$OpenBSD: patch-sys_v4l2_gstv4l2object_h,v 1.2 2009/11/29 09:17:38 ajacoutot Exp $
--- sys/v4l2/gstv4l2object.h.orig	Mon Nov  9 20:37:11 2009
+++ sys/v4l2/gstv4l2object.h	Mon Nov 23 18:28:12 2009
@@ -38,11 +38,13 @@
  */
 #include <sys/ioctl.h>
 #include <sys/types.h>
-#ifndef __sun
+#if !defined __sun && !defined __OpenBSD__
 #include <linux/types.h>
 #define _LINUX_TIME_H
 #define __user
 #include <linux/videodev2.h>
+#elif defined __OpenBSD__
+#include <sys/videoio.h>
 #else
 #include <sys/videodev2.h>
 #endif
